/*
 * playermove.h
 *
 *  Created on: 2009-09-10
 *      Author: ck
 */

#ifndef PLAYERMOVE_H_
#define PLAYERMOVE_H_

#include "playerstate.h"
#include "playerinput.h"

class PlayerMove
{
public:
	PlayerMove();
	virtual ~PlayerMove();

	void setPlayerState(const PlayerState& ps);
	void setPlayerInput(const PlayerInput& ps);
	void setTime(const quint32& t);

	PlayerState getPlayerState() const;
	PlayerInput getPlayerInput() const;
	quint32 getTime() const;

	bool differsFrom(const PlayerMove& pm) const;

private:
	PlayerState playerState;
	PlayerInput playerInput;
	quint32 time;
};

#endif /* PLAYERMOVE_H_ */
